package com.gwq.computedUtils;

public class AdditionOperation extends NewBinaryOperation{

    AdditionOperation(){
        generateBinaryOperation("+");
    }

    @Override
    boolean checkingCalculation(int anInteger) {
        return anInteger<=UPPER;
    }

    @Override
    int calculate(int left, int right) {
        return left+right;
    }
}
